package com.gold.persist;

import java.util.List;

import com.gold.model.Gold;

public interface GoldMapper {
    int deleteByPrimaryKey(Integer gId);

    int insert(Gold record);

    int insertSelective(Gold record);

    Gold selectByPrimaryKey(Integer gId);

    int updateByPrimaryKeySelective(Gold record);

    int updateByPrimaryKey(Gold record);
    
    //@Select("select * from gold")
    List<Gold> getAll();
}